package com.xhb.campusservices.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 订单状态
 */
@Getter
public enum OrderState {
/*    ONGOING(0,"进行中"),
    COMPLETED(1,"已完成");*/
    进行中(0,"进行中"),
    已完成(1,"已完成");
    @EnumValue
    private Integer state;
    private String stateName;

    OrderState(Integer state, String stateName) {
        this.state = state;
        this.stateName = stateName;
    }
}
